package com.example.mbl.service;

import com.example.mbl.dto.IndexDto;
import com.example.mbl.entity.IndexMotto;
import com.example.mbl.entity.IndexPic;
import com.example.mbl.result.PageResult;
import com.example.mbl.result.WebRestResult;
import com.example.mbl.result.business.IndexResult;

public interface IndexService {
    WebRestResult addIndexPic(IndexDto indexDto);
    WebRestResult addIndexMotto(IndexDto indexDto);
    WebRestResult deleteIndexPic(IndexDto indexDto);
    WebRestResult deleteIndexMotto(IndexDto indexDto);
    WebRestResult updateIndexPic(IndexDto indexDto);
    WebRestResult updateIndexMotto(IndexDto indexDto);
    IndexResult getIndex();
    WebRestResult updateIntroduction(String introduction);
    WebRestResult getIntroduction();
    PageResult<IndexPic> getIndexPicList();
    PageResult<IndexMotto> getIndexMottoList();
    WebRestResult updateEmployInfo(String employinfo);
    WebRestResult getEmployInfo();
}
